/* ==========================================================================
   1. Base & Reset CSS
   ========================================================================== */
html {
  font-size: 62.5%;
  width: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  color: #4A4A4A;
  background-color: #FAF8F5;
  font-family: 'Sawarabi Mincho', serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.0;
  letter-spacing: 0.05em;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.is-sp-none {
  display: none !important;
}

@media (min-width: 930px) {
  .is-sp-none {
    display: block !important;
  }
}

/* ==========================================================================
   2. Common Parts
   ========================================================================== */
/* Section Title */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.0rem;
  color: #333;
  margin: 80px 0 10px;
}

.section-subtitle {
  font-size: 1.4rem;
  color: #888;
  margin-bottom: 40px;
  display: block;
}

/* Header */
.header {
  width: 100%;
  padding: 20px;
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
}

.header h1 {
  margin: 0;
  line-height: 1;
}

.header h1 a {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-style: italic;
  color: #333;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  padding-left: 20px;
}

/* Hamburger Menu Logic */
#nav-input {
  display: none;
}

/* ハンバーガーアイコン */
#nav-open {
  display: inline-block;
  width: 30px;
  height: 25px;
  position: fixed;
  top: 25px;
  right: 20px;
  z-index: 2000;
  cursor: pointer;
}

#nav-open span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.4s;
  border-radius: 3px;
}

#nav-open span:nth-of-type(1) {
  top: 0;
}

#nav-open span:nth-of-type(2) {
  top: 11px;
}

#nav-open span:nth-of-type(3) {
  bottom: 0;
}

/* メニューオープン時のアイコン変形 */
#nav-input:checked~#nav-open span:nth-of-type(1) {
  transform: translateY(11px) rotate(-45deg);
}

#nav-input:checked~#nav-open span:nth-of-type(2) {
  opacity: 0;
}

#nav-input:checked~#nav-open span:nth-of-type(3) {
  transform: translateY(-11px) rotate(45deg);
}

/* メニュー本体 */
#nav-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(250, 248, 245, 0.98);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* チェックされたらメニューを表示 */
#nav-input:checked~#nav-content {
  transform: translateX(0);
}

.menu-container li {
  margin-bottom: 20px;
}

.english {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
}

.japanese {
  font-size: 1.2rem;
  color: #666;
}

/* Footer */
.footer {
  background: #f5f0eb;
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer__container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.footer__nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #333;
  font-weight: 500;
}

.top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff85c0, #d65cff);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(214, 92, 255, 0.4);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-btn::before {
  content: '▲';
  font-size: 1.4rem;
}

.top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(214, 92, 255, 0.5);
  opacity: 1;
}

/* SNS Icons Style */
.menu-sns ul,
.footer__sns_links ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.menu-sns a,
.footer__sns_links a {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-sns a:hover,
.footer__sns_links a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.footer__sns_links a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}


/* ==========================================================================
   3. Main Content CSS
   ========================================================================== */
.section-top {
  height: 80vh;
  background-color: #eee;
  position: relative;
  background-image: url('../img/IMG_5071.JPG');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10vh;
}

.section-top h2 {
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  font-size: 2.0rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (min-width: 930px) {
  .container {
    max-width: none;
    padding: 0 60px;
  }
}



/* About Style (ストーリー重視) */
.section-about p {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Profile Style (経歴重視) */
.profile-flex {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.profile-img {
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

@media (min-width: 930px) {
  .profile-img {
    margin-top: 30px;
  }
}

.profile-text {
  text-align: left;
  width: 100%;
}

.profile-text h3 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  display: inline-block;
  padding-bottom: 5px;
}

.profile-text p {
  text-align: justify;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #A67B5B;
  margin-top: 20px;
  border-left: 3px solid #A67B5B;
  padding-left: 15px;
  display: block;
}

/* Service Section */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.service-card {
  background-color: #fffdcb;
  border: 2px solid #fff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.service-card h3::before {
  content: '▶';
  color: #ffa8d6;
  font-size: 1.5rem;
}

.ribbon-text {
  background: #fff;
  color: #d65c5c;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 15px;
  transform: rotate(-1deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ribbon-text strong {
  font-size: 1.2em;
  color: #d65c5c;
}

.service-desc {
  text-align: left;
  margin-bottom: 20px;
  line-height: 1.8;
}

.price-box {
  font-size: 3.2rem;
  font-weight: bold;
  margin: 20px 0;
  color: #333;
}

.price-box span {
  font-size: 1.6rem;
  font-weight: normal;
  margin-right: 10px;
}

.service-note {
  font-size: 1.2rem;
  color: #666;
  text-align: left;
  margin-bottom: 20px;
}

.service-list {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  margin-bottom: 20px;
  width: 100%;
}

.service-list ul li {
  margin-bottom: 5px;
  font-size: 1.3rem;
  position: relative;
  padding-left: 1rem;
}

.service-list ul li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.service-list-recommend ul li::before {
  content: '☑︎';
  color: #d65c5c;
  left: -5px;
}

.service-list-recommend ul li {
  padding-left: 1.5rem;
  margin-bottom: 8px;
}

.service-list img {
  width: 80px;
  float: right;
  margin-left: 10px;
}

.highlight-text {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.warning-text {
  font-size: 1.2rem;
  color: #d65c5c;
  margin-bottom: 20px;
}

/* 詳細リスト（オンラインサロン用） */
.detail-list-title {
  font-weight: bold;
  color: #A67B5B;
  margin-top: 10px;
  margin-bottom: 5px;
  display: block;
  text-align: left;
}

.detail-list ul {
  text-align: left;
  font-size: 1.3rem;
  margin-bottom: 15px;
  padding-left: 10px;
}

.detail-list ul li {
  margin-bottom: 5px;
  list-style: disc;
  margin-left: 15px;
}

/* Udemy & Mail */
.udemy-img-box {
  margin-bottom: 20px;
  position: relative;
}

.udemy-img-box img {
  border-radius: 5px;
  width: 100%;
}

.merumaga-img {
  width: 80%;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Button */
.btn-pink {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 15px;
  background: linear-gradient(90deg, #ff85c0, #d65cff);
  color: #fff;
  font-weight: bold;
  font-size: 1.6rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(214, 92, 255, 0.4);
  position: relative;
  margin-top: auto;
  /* カード下部に配置 */
}

.btn-pink::after {
  content: '▶';
  position: absolute;
  right: 20px;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.btn-pink:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Voice & Inquiry */
.voice-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.voice-img {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  border: 3px solid #ff85c0;
  object-fit: cover;
}

.voice-content {
  flex: 1;
}

.voice-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #A67B5B;
  font-size: 1.8rem;
}

.inquiry-box {
  text-align: center;
  background: #f9f9f9;
  padding: 40px 20px;
  border-radius: 10px;
}

/* PC Styles */
@media (min-width: 930px) {
  .profile-flex {
    flex-direction: row;
    align-items: flex-start;
    max-width: 1000px;
    margin: 20px auto 0;
  }

  .profile-text {
    flex: 1;
    width: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .header {
    padding: 20px 60px;
  }

  #nav-open {
    display: none;
  }

  #nav-content {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    transform: none;
    flex-direction: row;
  }

  .menu-container {
    display: flex;
    gap: 30px;
  }

  .menu-container li {
    margin-bottom: 0;
  }

  .footer__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__nav ul {
    flex-direction: row;
    gap: 30px;
  }
}